const fs = require('fs');
const path = require('path');
fs.rename(path.resolve(__dirname, "1.md"), "new.md", function (err){
    if(err) throw err;
    console.log('rename ok');
})